/**
 * Copyright 2008-2009. Chongqing Communications Industry Services Co.,Ltd Information Technology Branch. All rights reserved. <a>http://www.crunii.com</a>
 */
package cn.rokhdelar.umbrsapi.core.base;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;


@Getter
@Setter
@ToString
public class OrderProp implements Serializable {
	private static final long serialVersionUID = 1L;
	private String prop;// 属性名
	private boolean ascending = true;// 是否升序，默认是升序排序

	public OrderProp(String prop) {
		this.prop = prop;
	}

	public OrderProp(String prop, boolean ascending) {
		this.prop = prop;
		this.ascending = ascending;
	}

}
